// pages/demo08/demo08.js
Page({

    /**
     * 页面的初始数据
     */
    data: {
        list:[
            {
                id:0,
                name:"苹果",
                value:"apple"
            },
            {
                id:1,
                name:"葡萄",
                value:"grape"
            },
            {
                id:2,
                name:"香蕉",
                value:"banner"
            },
        ],
        checkedList:[]
    },
    handleChange(e){ 
        var checkedList = e.detail.value;
        console.log(checkedList)
        this.setData({
            checkedList
        })
    }
})